<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
    {:token()}
    <div class="form-group">
        <label for="c-name" class="control-label col-xs-12 col-sm-2">{:__('用户')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-user_id" data-rule="required" data-source="user/user/index"
                   data-field="nickname" data-multiple="true" class="form-control selectpage" name="row[user_id]" type="text" value="{$ids??''}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-money" class="control-label col-xs-12 col-sm-2">{:__('发放金额')}:</label>
        <div class="col-xs-12 col-sm-4">
            <input id="c-money" min="1" step="1" data-rule="required" class="form-control" name="row[money]" type="number" value="1">
        </div>
    </div>
    <div class="form-group">
        <label for="c-day" class="control-label col-xs-12 col-sm-2">{:__('发放天数')}:</label>
        <div class="col-xs-12 col-sm-4">
            <input id="c-day" min="1" step="1"  data-rule="required" class="form-control" name="row[day]" type="day" value="1">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
